package com.csw.foodRecommendation.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.csw.foodRecommendation.entity.Rec;

/**
 * @author 1
 */
@Mapper
public interface RecDao {
	Rec queryByName(@Param("name") String name, @Param("id") String id);

	void add(@Param("r") Rec rec);

	void update(@Param("r") Rec rec);

	List<Rec> queryByCcc(String id);
}
